package com.supermali.behavior;

public abstract class Behavior {

    private int status =0; // 0 : 已结束，1正在运行

    public void start(){
        this.status = 1;
    }

    public boolean isOver(){
        return status==0;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
